package com.lkpstudy.rbac.service;

import com.lkpstudy.rbac.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author likaiping
* @description 针对表【role(角色表)】的数据库操作Service
* @createDate 2024-04-17 20:25:23
*/
public interface RoleService extends IService<Role> {
    /**
     * 根据角色id修改角色的权限
     * @param roleId 角色id
     * @param authIds 权限id列表
     * @return /
     */
    boolean editAuths(Long roleId, List<Long> authIds);
}
